package com.typhoon.spring_shiro.constants;

/**
 * 升级中心错误码
 * 
 * @author Typhoon
 * @date 2017-06-29 14:22
 * @since V1.2.9
 */
public class CenterEntityError extends EntityError {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4969670169878272504L;

	 public static final CenterEntityError MEMBER_ID_ILLEGAL = new CenterEntityError(8000, "会员id为空");
	 
	 public static final CenterEntityError SEX_ILLEGAL = new CenterEntityError(8001, "性别非法");
	 
	 public static final CenterEntityError WORKERID_ILLEGAL = new CenterEntityError(8002, "归属人工号非法");
	
	 public static final CenterEntityError NAME_ILLEGAL = new CenterEntityError(8003, "会员姓名非法");
	 
	 public static final CenterEntityError CONTACTNO_ILLEGAL = new CenterEntityError(8004, "合同编号非法");
	 
	 public static final CenterEntityError MMAKER_SCHEDULE_NOTEXIST = new CenterEntityError(8005, "红娘排班不存在");
	 
	 public static final CenterEntityError UPGRADEID_ILLEGAL = new CenterEntityError(8006, "升级管理id非法");
	 
	 public static final CenterEntityError UPGRADE_STATUS_ILLEGAL = new CenterEntityError(8007, "升级状态非法");
	 
	 public static final CenterEntityError ALLOT_MMAKER_ILLEGAL = new CenterEntityError(8008, "分配红娘非法");
	 
	 public static final CenterEntityError UNUPGRADE_REASON_ILLEGAL = new CenterEntityError(8009, "暂不升级原因非法");
	 
	 public static final CenterEntityError NOTE_CONTENT = new CenterEntityError(8010, "小计内容非法");
	 
	 public static final CenterEntityError UPGRADE_MGR_NOTEXIST = new CenterEntityError(8011, "升级管理不存在");
	 
	 public static final CenterEntityError CURRENT_WORKER_NOTEXIST = new CenterEntityError(8012, "获取当前登录人信息为空");
	 
	 public static final CenterEntityError WORKERCITY_NULL = new CenterEntityError(8013, "工作地为空");
	 
	 public static final CenterEntityError CONTRACTNO_ILLEGAL = new CenterEntityError(8014, "合同号非法");
	 
	 public static final CenterEntityError DEPTID_ILLEGAL = new CenterEntityError(8015, "门店id非法");
	 
	 public static final CenterEntityError MONET_ILLEGAL = new CenterEntityError(8016, "金额非法");
	 
	 public static final CenterEntityError BIRTH_ILLEGAL = new CenterEntityError(8017, "生日非法");
	 
	 public static final CenterEntityError WORKORDER_TYPE_ILLEGAL = new CenterEntityError(8018, "工单类型非法");
	 
	 public static final CenterEntityError PRODUCT_ILLEGAL = new CenterEntityError(8019, "产品参数非法");
	 
	 public static final CenterEntityError WORKER_TYPE_ILLEGAL = new CenterEntityError(8020, "工号类型非法");
	 
	 public static final CenterEntityError NO_UPGRADECENTER_SCHEDULE = new CenterEntityError(8021, "不存在升级中心排班表");
	 
	public CenterEntityError() {
	}

	public CenterEntityError(int code, String msg) {
		super(code, msg);
	}

}
